package controller;

import viewIHM.ChatGUIView;

public class ChatController {
	ChatGUIView fenetre ;
	
	private ChatController(){
//		this.fenetre= fenetre ;
	}
	
	public void quitChat(){
	}
	
	public void receiveMsgText(String message,String username){
		fenetre.displayMessage(message, username);
	}
	
	public void sendMsgText(){
		
	}
	
	public void userConnectChat(String username){
	}
	
	public void userDisconnectChat(String username){
		
	}
	
	public void remoteUserConnect(String username){
		fenetre.addUserInList(username);
	}
	
	public void remoteUserDisconnect(String username){
		fenetre.removeUserInList(username);
	}
}
